<!DOCTYPE html>
<html>
<head><meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>图文详情</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no, maximum-scale=1.0" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link href="../assets/mobile/comm.css" rel="stylesheet" type="text/css" />
<link href="../assets/mobile/goods.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="../assets/mobile/top.css">
<link rel="stylesheet" href="../assets/agile/css/ratchet/css/ratchet.min.css">
<link rel="stylesheet" href="../assets/agile/css/flat/flat.component.css">
<link rel="stylesheet" href="../assets/agile/css/flat/iconline.css">
<script type="text/javascript" src="../script/api.js"></script>
<script src="../assets/js/mobile/jquery190.js" type="text/javascript"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/local.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<style>
.recordCon{
	margin-left:0;
}
</style>
</head>
<body style="position:static !important;">
<div class="h5-1yyg-v1" id="loadingPicBlock">
    <div id="ios-top-box">
		<div id="header" class="bar bar-nav">
		<div class="titlebar">
		<a href="javascript:appClose('goodsdesc',api);"><i class="iconfont iconline-arrow-left"></i></a>
		<h1 class="title">图文详情</h1>
		</div>
		</div>
	</div>
    <!-- 抢购记录 -->
	<div id="wrapper" style="position:static !important;overflow:auto;">
    <section id="buyRecordPage" class="goodsCon" style="margin-top:68px !important;">
        <div id="divRecordList" class="recordCon z-minheight" style="display:block;padding:0 5px;">
            
        </div>
    </section>
	</div>
</div>

<script type="text/javascript">
$(function(){
    var itemid = localData.get('goods_id');
    if(!itemid){
        api.alert({title:'提示',msg:'数据不存在'},function(index,error){
        	appClose('goodsdesc',api);
        });
        
        return;
    }
	GetJPData(config.url+'/app.php?act=goodsdesc',{goods_id:itemid},function(data){
		if(data['status'] == 1){
			var str = data['html'];
			str = str.replace(/src=/g,'class="lazy" data-original=');
			$('#divRecordList').html(str);
			setTimeout(lyzimg,100);
		}else{
	        api.alert({title:'提示',msg:data['msg']},function(index,error){
	        	appClose('goodsdesc',api);
	        });
		}
	});
});
</script>
</body>
</html>